removed init function case block