Lewis give legislature until Dec. 31 to fix funding system