add card validation, change cookbook layout, etc
format code