conform to other places in api and use string