vaguely working version
added dependencies