removed extraneous function and limit of < 0 (spec says negative = backwards)