adding phpDoc comments