Fixed snake_case function