added better init function that gives full information and relations