added compensation for the x axis and added logs for the playground.