finished

finished  coding for test