adding extension stuff