reduce to a much simpler and hackable program