added comment to spl code