Duplicate functions and || operator