renamed some methods.