removed the need for curl