added setting functions for method