added database validation/class validation