better parsing of sourcecode