add support for validators
customise package read