finishing off first build generation code #3