use of functions

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>