Ok, I'll move that next to pow(), inside if-statement.