improved slim template