improvements
write paths