added multiple queries at the same time and logic that checks DB first if useable data laready exists