Prototype of using signals