Method was not working