added expression printing, assignment detectio, update doc