v0.4; updates messages processing