added rails to x and y axes