first working prototype of plugin dependencies