just need to write unlock, send_message and a tiny piece of add. also added small custom logger