Added virtual method instead of passing argument