fixed typo; now tested