added input/output syntax