I am not sure what is wrong. I added a console log to see whats up