various attempts at optimization
additional attempts
added timing function
additional tweaks
finishing tweaks