adjust to use double-ampersand (&&) for chaining (closes #14)