support 4 layers