Added stuff for database