remove not needed kindEditpr function