Removed input loop