slot generator tidying