added parse snippet