Added some procedures