updating comments & removing trial code