Changed back to having beginOrientation () in the constructor