Towards the theory and practice of competence-based competion