Understanding the motivation for studying