updating some methods