some initial code for new piece
merge
merge
merge
merge
chat beginning