Updates to if(offercount>0) statement and added various comments tagged with "TODO" for change suggestions/ideas