This would perhaps be more efficient CPU-wise.