Adding new functiong core location