added diameter params to cylinder