added stuff about parent scope, thought it was already there when I removed it from resolver section