jf: needs var config