Always Optimize the code after firstly get it working