got the loop sort of working when you keep inputing the same actor