removing 'display' function's test to keep output less messy
using logger.ERROR to keep module less verbose by default