start doing chinax example
clean up code