add window size as param