works with a config; a bit clunky but it works...