parsing works for the test cases