Added round 1 implementation. Please check.