width & height adjustment added