removing line functionality and using fun call

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