beginning to implement one of test cases