Add get_ck to links function