simplified to dist only