compass moved to coredata