slid to smslog_id
cleanup coding styles (using Eclipse format)