added more window functions