ADDED: init codes.