update to incorporate selection layer