Added new detection features