Cleaned up unused imports & variables and deleted debug printing