On a class of analytic functions