add subroutine gclc_sc_allocate()