Simplified Parsec code