added a parameter for solid height