making path struct