added build_path method, not working yet though