on method supports array as the first param