Added some code optimization