added feedback logic