added all functions windows