added get method in details view