stack and queues: syntax style changes