added syslog calls