Added main functionalities