printDetails now passes