Code from the ember hack day