just work: implemented some methods