improved embedding