working but will need to fix the lookdown() so that it doesn't prematurely stop