starting to add real POST code