Instead of copying code from the parent class, you should call the parent's function - what if we find a bug in it and fix it there? This copy won't be fixed.