Remove unused tokens
Implement magic reading function