added target width and height