attempting to fix some types things
pair debugging