added mysql reference stuff