played around with db connection