changes to ctrateTempView