Second Commit

Updated code