first cut working
and a test