added variables to edit page