wrote second test and passed it with implimentation