made things more wordpress friendly