Added implementation and conclusion