declarative api 1.0