sigadd func added