added viewed to serve api