simulator and input working but speeeeeding