fixed bug, have working basic build