small changes

removed init
added fn