table generates

Signed-off-by: indrajit roy <eendroroy@gmail.com>
refactor

Signed-off-by: indrajit roy <eendroroy@gmail.com>