marker based detection