removed echo
added basic fetch pattern