The basics is working. TODO fixed chunked