The design of a study-environment for acquiring competencies