adding some functionalities.