initial code to get GETs working