Adding some codes