Added important functions