add working methods for parsing