don't suck at template coding. Thanks @indirect