changed functions readable