Smart layer location