put MARK status in a function