capified and removed secrets