Code for paths property