add option to skip layers