added a few more functionalities