Added check functions