Some changes. This code doesn't work right now.