initialize variable 'top' to silence warning