adding init support