adding private method