Updated the basic usage of the class