first implementation of the fitnesstest