Changed some codes.