added Scale function and started rotate