better smart functioning(faster)