db added
some methods written