window channel mostly working, allocation needed still