border, messages, and element rotation added