function status added