to learn c funtions