added 'total', 'occupied' and 'free' fields