adding in params and fixing enherited attribute problems