Better margins
Added a type for create paths