logical mechanisms