implemented modify definition func