proper init. hopefully this is working properly now. cross fingers