adding display params to the constructor