added comments to slot scheduling