added init method to resume controller