parsing works for simple examples