renamed check functions