Initial changes for adding dx, dy
Added dx, dy