began to work on http method