instancetype instead of id
log to stderr