statuses set in function