added support for signals, some more examples