Add detect steps method