deleted button, need to make it so the window location origin is right programatically