code exercise for zipRealty