modifications related to profile and capturing location