base caseof data function matches arg length