add constructor in custom dysco