updating parser slightly