Adding initialization of rotation