removed redundant fns and added build dir