added second arg for detailed view method