Implement some of the basic CRT functions