better organization to use with curl