define the lib structure
working with parse function