simplifed functions of this file