added redcoat code