added how to use layer
more completed layer use