drawing custom layers