working prototype!  formatting nearly down.