CHEYENNE, Wyo. (AP) — The Wyoming Senate has approved a bill that would allow a lottery and multi-state games such as Powerball in the state.

The Senate on Friday passed the bill on a 18-10 vote. But before approving it, the chamber amended it to specify that proceeds will go to support the state school system, which is already among the best funded in the nation.

The version of the bill that passed the House previously specified that proceeds would support local governments.

The difference between the bills will have to be worked out at a later conference committee before a final bill could go to Gov. Matt Mead.