making more generic, not wordpress specific anymore