final implementing pre build