added lerping for transformation