added code for individual work pages