parsing/scanning of cast works