implement simple api pattern using level key string