update readme and add some methods