fixed broken pascal's