benrify some functions