implemented static layer generation

int