Create with detector