added locks to i350, wrote transmit code