unused vars
Don't getLayer() a million times. @CTDisasterManagement