improvemnets to efficiency but still re change required

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>
list all errors and some modifications

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