NF: first pass at building machinery