added new factor variable with two levels: weekday and weekend