Adding initialization functions