localization and deck apis for #121