working on gui for layer