modified access modifiers for the Phant struct and added the row_data() function