use new container#register syntax