initial commit of functional assignment code