First cut of working functionality.