Transitioning from the informal to the formal economy