change in order to save states;
bad access in testing (issue regarding child initialization)