type label changed and add constants for layers