adding preparsing