adding pixel transformatin