Added the public method to attach height.