Added signal and signal functions