Added a few basic functions