Implemented third step