extracted feedback function to own plugin