Added code method