First compiling attempt of implementing resolve
Making join variadic