added header functions for set and get