cosmetics; made dependency optional