Line between function check