Added support for free slot detection