added application handling to transformation