refactoring detection methods

Update methods to generate default parameters struct when no input
arguments are given.