added the ability to make http requests