Added modified BT solution