readded template, thanks @ElDeveloper