Add throws and boolean important