Adding endbox