db and erb done
added the sold field also. not sure if that was meant to be left out.