Added the round() to avoid floating point issues