ending functionalities