entry detection implemented, yet not already fully tested
starting with departure detection, history and representative