updated with beginning test code