modidfied load_tokens
finished rack