implement publication repository method