Initial solution implementation