but if i put the NEXT INTA first, an error comes up