added some methods to remove compiler warning