support for x and y param