[b] added a custom made validation class