prepare for building