finish the basic methods and functions