Checkpoint: (getter) Using getLocation() to replace location.

Signed-off-by: mk124 <mk124a@gmail.com>