make isCaptain use number value