Added code type and output