Updated! Old code(1.6.4)