is there a reason for not popping 'transform' at the beginning of the method?