remove unused 'bounds' variable