re format code
fix p minor syntax issues
more syntax fixes
get req test