remove ensure func from interface