detect markers and execute a hook
improve marker regions