added section function
added printf function