fix: forgot self in func declaration