Check functions, ref #5