adding basic validation and drop table