added new getElementWidth method