export + some code on status