https://helploggertricks.blogspot.com/2015/02/4-ways-to-detect-invalid-activity-in.html