preparation of methods for parser