implemented join
implemented all commands