added a shadow and copied the secure template