added dependencies
restore minimal functioning