added contructor and comments for parameters