starting the detetive implementation