use function instead of class