new support for strict and non strict validation