fix errors
add getDeals method