- multiplatform constructor implemented