change to use signal for handler process different status