Added code for ex13