added using of enum pattern for shape types