Ryans code