removed find flg func
adding task1b