modifiying Swimmer class