Alternative windows function