adds check width function functionality