refactor

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>