added docblock for __construct method