delete init function and more