add license and change the view of recognize