prepare for opensourcing