Text this: A resource allocation algorithm based on double slots