completed early bird logic