A general toolkit