changed windowsize to 512