replaced hardcoded values with numtweets and listsize