Added something to not divide by zero