Made a fuction for my width converter, worked properly.