Added beatLocation macro