scomposed main initialization