implementing resource in method() not make_action()
removed unneccesary stuff