rotate image attempt 2