adding some methods

count