finished except for figure window size