Child will prints median and Fixes #5