changes to be able to maximize containers