working on class() and build() methods. in progress.