methods defined

defined a few methods.