Solving the issue of overriding