removed unnecessary assert