using more concise check for do's