restored class initialization