created test for first rqequirement and implimented logic to have test pass