So it worked by changing the msg from var to let. Thank you so much. i removed the return msg to get rid of the unwanted msg. Thank you!
data keyed in
results of data being keyed in