qualified to earn work credits and earn 50 percent off their sentence