improved formatting (added '--limit' argument)