changed null to boxlayout