Got init functionality working