adding imagealphamask function