add efficiency code and poll for longer