fixed generate. didnt need to take line in.