doing transform when surface is ready