soc cap minor bugs fixed, some cosmetic changes added