passing data to create view