added Method Function