revised and semi-functional script