Simplified the code, Exercise done