Implements Code to Pass Test