Use 'when' syntax instead