added inputs to simplify detector object