Adding  method to fill height.