It should be able to replace variables with objects