added option to chose number of layers