implemented vali-xah