removed junk header and added comments