Removed 'count' variable