Changed `cylinder` argument to `int`