production quality code for gravity.com code assignmeng