PURPLE machine