first attempt at circshift