Added ping pong implementation