should correctly parse definitions