reformatted the code basis