added extract method