def some methods