changed whereclause, removed variable declarations, added default values to index