removed http dependency