moved secure to bottom