I think this works

I'm having trouble developing test cases or really understanding what's going on with the application.