initial attempt at build implementation