added mysql stuff