Solution to early check out and late flight