Fix the response and make method public