edit deg&location function