Trying detect and status output