trying to get onclick and new message right