implementation of village and building