move the optional class to top level as thats where the padding occurs