replaving with my code