Next button now works