added appointments table