added check for slot in the past