changing interfaces to use primitive booleans instead of Booleans