Removed duplicate getDetails call