work on issue #24; some improvement in scs component; add layout for scg