changes for details view functionality.