completed some methods