working on signal routin