resY vs resX added