need to do alpha composite and remove background functions