added multibase functionality