added setsignal