The epidermis is typically 10 to 30 cells thick; its main function is to provide a waterproof layer. What is the main function of the epidermis