renamed init to make for functions which return a value