Stuff

-also, optimized db connection