New functions. Work on evdet.