working detection
finish detection