removed qvalue code, closes #30