added a way of getting various data from page to save it