updates to getnextwork