added signal r