Now works with declaration