add initial data and options param