added check for shifts