modified overflow controls