Used Hack language, created method for enumerated templates.