first cut. works with minor hiccups