implemented getting ahead stuff