created methods for block rotation