Cost Parser