added possibility to choosing between strategies for empty values treatment