tweaks layer controller functions