attempt at speeding up