added set functions for data