added some stable code