error management: avoid notice
error management: avoid PHP notice
better examples