got previous next working