add house price function