now also extracts object literals