made prompt optional when container exists