Removed loops and timing