change init and add zero/rand routines