WIP: p26 - utility fn -> window