Refactor

Signed-off-by: rachitmishra <twntee@gmail.com>