resolved build errors in rotation function