added options to layers