added assertiosn