made swimming into types for player