moved non-responsive-specific functions from responsive to script