homework
db validation bug fix
final commet