removing unnecessary init function