added permAPi and Implementation