fixed class function vs. method