logic for vk relation