#4 correct calculation when using container