now reads entities from path arguments