log brevity
get message by integer allowed
remove unused code