adding distance calculation
adding distance check
adding delay for notifications