add entry validation