Edited for use in CRITFC development environment