Added Code for Passing Tests