Adding Build Function