changed the parameters, now everyting is inside the object
tint function can handle only color overlay and image with color overlay (see example)