added __proto__ for inheritance