some tools for code