adding dynamic w/h attributes