Slight tweak

Added next function