add resouce file and code optimazation