a lot of clean up being done and more functionality in the study page