second attempt at mysql