updated to wordpress standards