oo version accepts numbers rather than strings as input