improving interface around low-level-leap code