use page variables to avoid duplication