code now passes season tests