take message from array