add catch for no width provided