adding to methods and detection