debug changes
Study phase is working I think