trying out optimizations..