change string check from .length == 0 to .empty?
Signed-off-by: Mike Munroe <mike@mikemunroe.com>