Initial writing of most methods