begin adding command completion
implement strdup