adding static function might work better