First testing, added EOT and sliding window(?)