notation fix
notation fixes
foreign key implementation was wrong, fixed
syntax problems fixed
syntax problems fixed