changed functions to reflect skeleton theme