add method to parse data in class
regenerate doc
clean code