Idea on function and small changes to x-axis