adds more advanced nesting with > and & in use