added preparation for details view