added property window
possibly a new on click event