add relative class