better example of backwards compatible API