user feedback function implemented