ported most base commands