SErver side building adding logic