little tweaks in A*