a lot of clean up being done and adding more functionality to the study page
minor