created second subclass and initialized both