2nd commit: converted methods (input() -> create(), output() -> getList())