decrease spacing, add logging code