work on width, height, inheritance