removing unnecessry code

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>
removing line functionality and using fun call

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