got boxes working correctly