setting some methods