update code to test if message is display if position was already taken