Added code to response to user

But need to be checked, since it didn't work well.