separate index and content