modify some procedures