changed to use default round function