small changes to round logic