fixed multiparent code, minimum app done