logic in helper methods, working ratings

lgtm;