next is a bad function name