Added titlePadding variable