added ensure command