added several window functions.