converted template to slim