Added hole detection