interpreter: add declarations one-by-one