event added, still problems but database is created correctly