mostly ready to interract with database