created new function for image layer creation