use command instead of which