Update signals.jl to return occured signals