added criterion testing