added method validate