added compressed template