added some methods.