added example for signals, types are still a bit weird