Methods and functionalities written