Three essays on corruption