initial work on quals, refs #7