adding handlers to retrieve data