fixing up init