added feedback function