Added free space calculation