how does this work? It seems to be ignoring the X and Y attributes.