added line following code to SimpleCode