Got input reading working