testing for parts 3 and 5