Added all the methods and Object function