Changed place where delegate is set
ns coder implementation