Corrected uncommented subroutine