added details functionality
Finished details