extract and store qualification, fixes #8