added other functionalities