added basic mysql stuff