parameters class added, some other work done