added initial database query
added database modifications table