parse assignment and demo