applying wday method