added signal parsing