Added implementation for the third row