More work on study sessions. Working on callback function for data