Added more comments for layer