switched maybe to Box
Added type equality